package com.iskny.framework.model;

public class ModelState {

	public static final long usable = 1;
	public static final long disabled = 0;
	public static final long deleted = -1;
	static final String[] infos={"已删除","禁用","启用"};
	static String getStateInfo(Long state){
		long temp = Math.abs(state);
		if(temp==0||temp==1){
			return infos[(int) (state+1)];
		}
		return "";
	}
}
